
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head >
    <meta charset="UTF-8"/>
    <title>Hello Thymeleaf!</title>
    <script th:src="@{/js/jquery.min.js}" type="text/javascript"></script>
    <script th:src="@{/js/login.js}" type="text/javascript"></script>

</head>
<body>
    错误信息：
    <h4 id="erro" th:text="${message}"></h4>
    <form id="myForm" action="/login" method="post">
        <p>
            账号：<input type="text" name="username" id="username"  />
        </p>
        <p>
            密码：<input type="text" name="password" id="password"  />
        </p>
        验证码:<input type="text" name="code" placeholder="请输入验证码"/><img src="/getGifCode"/>
        <br /><br />
        记住密码:<input type="checkbox" name="rememberMe"   /><br />
        <p>
            <input type="submit" id="ajaxLogin" value="登录" />
        </p>
    </form>
    </body>

</html>
